#import "WonderJuggleView.h"


@implementation WonderJuggleView



- (void)setGlow:(WonderJuggleModel *)glow {
	_glow = glow;

	//: 配置cell的UI

	self.tonicLabel.text = glow.sereneQuicksilverVolatile ? @"YES" : @"NO";

}
- (UITextView *)elevatePirateTextView {
	if (!_elevatePirateTextView) {
	
        _elevatePirateTextView = [[UITextView alloc] initWithFrame:CGRectZero];
	}
	return _elevatePirateTextView;
}

//: swoop 的点击事件
- (void)action_2 {}

- (UIView *)butterflyInstinctYarnView {
	if (!_butterflyInstinctYarnView) {
	
        _butterflyInstinctYarnView = [[UIView alloc] init];
	}
	return _butterflyInstinctYarnView;
}

//: _hazeButton 的点击事件
- (void)action_5 {}

- (UIButton *)hazeButton {
	if (!_hazeButton) {
	
        _hazeButton = [[UIButton alloc] initWithFrame:CGRectZero];
        UIImage *solarHumble = [UIImage imageNamed:@"images/icon_5.png"];
        if (solarHumble) {
	        [_hazeButton setImage:solarHumble forState:UIControlStateNormal];
        }
        [_hazeButton setTitle:@"button_5" forState:UIControlStateNormal];
        [_hazeButton setTitle:@"button_selected_5" forState:UIControlStateSelected];
        [_hazeButton setTitleColor:[UIColor colorWithRed:4/255.0 green:36/255.0 blue:248/255.0 alpha:0.5] forState:UIControlStateNormal];
        [_hazeButton setTitleColor:[UIColor colorWithRed:6/255.0 green:20/255.0 blue:179/255.0 alpha:0.8] forState:UIControlStateSelected];
        [_hazeButton addTarget:self action:@selector(action_5) forControlEvents:UIControlEventTouchUpInside];
	}
	return _hazeButton;
}

- (UIView *)wonderSereneView {
	if (!_wonderSereneView) {
	
        _wonderSereneView = [UIView new];
	}
	return _wonderSereneView;
}

- (void)yawnXenophobeNavigateInitUIKit {
	//: 描述_0
	[self addSubview:self.elevatePirateTextView];
	[self.elevatePirateTextView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(132);
		make.height.mas_equalTo(184);
		make.top.equalTo(@(29));
		make.bottom.equalTo(@(16));
	}];


    //: 描述_1
    self.quirkElevateTextView = [[UITextView alloc] init];
    [self addSubview:self.quirkElevateTextView];
	[self.quirkElevateTextView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(175);
		make.height.mas_equalTo(57);
	}];


    //: 描述_2
    UIButton *swoop = [[UIButton alloc] initWithFrame:CGRectZero];
    swoop.frame = CGRectMake(10, 41, 78, 197);
    UIImage *grasp = [UIImage imageNamed:@"images/icon_2.png"];
    if (grasp) {
	    [swoop setImage:grasp forState:UIControlStateNormal];
    }
    [swoop setTitle:@"button_2" forState:UIControlStateNormal];
    [swoop setTitle:@"button_selected_2" forState:UIControlStateSelected];
    [swoop setTitleColor:[UIColor colorWithRed:180/255.0 green:19/255.0 blue:76/255.0 alpha:0.8] forState:UIControlStateNormal];
    [swoop setTitleColor:[UIColor colorWithRed:213/255.0 green:120/255.0 blue:244/255.0 alpha:0.7] forState:UIControlStateSelected];
    [swoop addTarget:self action:@selector(action_2) forControlEvents:UIControlEventTouchUpInside];
    self.terrainInspireButton = swoop;
    [self addSubview:swoop];


    //: 描述_3
    UITextField *inspire = [UITextField new];
    inspire.size = CGSizeMake(84, 75);
    inspire.left = 18;
    inspire.top = 31;
    self.binaryUnveilTextField = inspire;
    [self addSubview:inspire];

	//: 描述_4
	[self addSubview:self.butterflyInstinctYarnView];
	[self.butterflyInstinctYarnView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(138);
		make.height.mas_equalTo(137);
	}];

	//: 描述_5
	[self addSubview:self.hazeButton];
	[self.hazeButton mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(142);
		make.height.mas_equalTo(47);
		make.top.equalTo(@(30));
		make.bottom.equalTo(@(11));
	}];

	//: 描述_6
	[self addSubview:self.wonderSereneView];
	[self.wonderSereneView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(168);
		make.height.mas_equalTo(65);
	}];


    //: 描述_7
    self.quirkZealImprintView = [[UIView alloc] init];
    [self addSubview:self.quirkZealImprintView];
	[self.quirkZealImprintView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(94);
		make.height.mas_equalTo(113);
		make.top.equalTo(@(30));
	}];


    //: 描述_8
    self.tonicLabel = [[UILabel alloc] initWithFrame:CGRectZero];
    self.tonicLabel.text = @"label_8";
    self.tonicLabel.font = [UIFont systemFontOfSize:19 weight:UIFontWeightRegular];
    self.tonicLabel.textColor = [UIColor colorWithRed:136/255.0 green:37/255.0 blue:182/255.0 alpha:0.8];
    self.tonicLabel.textAlignment = NSTextAlignmentLeft;
    self.tonicLabel.numberOfLines = 3;
    [self addSubview:self.tonicLabel];
	[self.tonicLabel mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(30);
		make.height.mas_equalTo(156);
		make.top.equalTo(@(11));
		make.bottom.equalTo(@(19));
	}];
}


@end